//
//  WFStore.h
//  WisdomFarm
//
//  Created by 心情 on 2017/10/26.
//  Copyright © 2017年 sky. All rights reserved.
//

#import "WFUser.h"
#import "WFFarm.h"

@interface WFCacheStore : SCStore

@property (nonatomic, strong) CLLocation *currentLocation;
@property (nonatomic, copy) NSString *currentAddress;

+ (instancetype)sharedCacheStore;

@end

FOUNDATION_EXTERN NSString *const WFStoreKeyCurrnetUser;
FOUNDATION_EXTERN NSString *const WFStoreKeyCurrnetFarm;

@interface WFStore : SCStore

+ (WFUser *)currentUser;
+ (void)setCurrentUser:(WFUser *)user;

+ (WFFarm *)currentFarm;
+ (void)setCurrentFarm:(WFFarm *)farm;

@end
